package com.gurun.camera.device.view;

import com.danale.player.listener.MediaState;
import com.gurun.camera.mvp.IBaseView;

public interface ILivePlayView extends IBaseView {
    /**
     * the callback of play video change
     * @param id the unique id of the playing device
     * @param state the state of video
     */
    void showVideoState(String id, MediaState state);

    /**
     * the callback of audio change
     * @param state the state of audio
     */
    void showAudioState(MediaState state);

    /**
     * the callback of talk change
     * @param state the state of talk
     */
    void showTalkState(MediaState state);

    /**
     * the record of record change
     * @param state the state of record
     * @param time the duration of record
     * @param filepath the path of record file
     */
    void showRecordState(MediaState state, String time, String filepath);

    /**
     * @param state
     * @param filepath
     */
    void showCaptureState(MediaState state, String filepath);
}
